<template>
  <div class="l-rblock" v-if="!lr_loadPage">
    <wf-audit-form
      ref="form"
      type="auditAndlook"
      :params="{ processId: processId }"
      :isLoadFormData="true"
      wraperType="page"
      @refresh="assessSubmit(true)"
      @loadError="loadError"
    />
  </div>
</template>

<script>
export default {
  data() {
    return {
      lr_isPage: false,
      processId:'',
    };
  },
  computed: {},
  created() {
    this.init();
  },
  methods: {
    async init() {
      this.processId  = this.$route.query.id;
    },
    loadError(){
      window.close();
    }
  },
};
</script>
